<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <title>GoFileView</title>
    <link href="http://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="js/lazyload.js"></script>
    <style>
        .container {
            width: 100%;
            height: 100%;
        }
        .img-area {
            text-align: center
        }
    </style>
</head>

<body bgcolor="#404040">
    <div class="container">
        <div class="img-area">
            <!---------<img class="my-photo" alt="loading" title="查看大图" style="cursor: pointer;"
                data-src="http://file.keking.cn/CMMI-配置管理计划/0.jpg" src="images/loading.gif"
                onclick="changePreviewType('allImages')">----->
                {{AllImages}}
        </div>
    </div>
    <span class="fa fa-file-pdf-o fa-5x" style="position: fixed; cursor: pointer; top: 40%; right: 50px; z-index: 999;"
        title="使用PDF预览" onclick="changePreviewType('pdf')"></span>
    <script>
        window.onload = checkImgs;
        window.onscroll = throttle(checkImgs);
        function changePreviewType(previewType) {
            window.location.href = window.location.href + "&type=pdf"
        }
    </script>
</body>

</html>